﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace FingerPrint.WebUI.Models
{
    // Define the schema and table to connect
    [Table("contact", Schema = "Person")]
    public class Contact
    {
        //[HiddenInput(DisplayValue = false)]
        public int ContactID { get; set; }

        [DisplayName("Contact Name")]
        //[Required(ErrorMessage = "Please enter a Company Code")]
        public string ContactName { get; set; }

        [DisplayName("Company")]
        //[Required(ErrorMessage = "Please enter a Company Name")]
        public string Company { get; set; }

        [DisplayName("Email Address")]
        public string EmailAddress { get; set; }

        [DisplayName("Phone")]
        public string Phone { get; set; }

        [DisplayName("Mobile")]
        public string Mobile { get; set; }

        [DisplayName("Fax")]
        public string Fax { get; set; }

        [DisplayName("Address Line1")]
        public string AddressLine1 { get; set; }

        [DisplayName("Address Line2")]
        public string AddressLine2 { get; set; }

        [DisplayName("Address Line3")]
        public string AddressLine3 { get; set; }

        [DisplayName("District")]
        public string District { get; set; }

        [DisplayName("City")]
        public string City { get; set; }

        [DisplayName("Modified Date")]
        public DateTime? ModifiedDate { get; set; }

        [DisplayName("Remark")]
        public string Remark { get; set; }

    }
}
